<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基本资料</title>
    <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="../assets/lib/cropper/cropper.css">
    <link rel="stylesheet" href="./css/change.css">
</head>

<body>

    <div class="layui-card">
        <div class="layui-card-header">更改头像</div>
        <div class="layui-card-body">
            <form class="layui-form">
                <!-- 大图片盒子 -->
                <div class="big-pic"><img src="../assets/images/sample.jpg" alt="" id="images"></div>
                <!-- 大圆盒 -->
                <div class="big preview-size"></div>
                <span class="big-size ">100x100</span>
                <!-- 小圆盒 -->
                <div class="small preview-size"></div>
                <span class="small-size  ">70x70</span>
                <!-- 提交按钮 -->
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <div class="layui-form-item">

                            <div class="layui-input-block">
                                <input type="file" id="file" style="float: left;" name="title" required placeholder="请输入标题" autocomplete="off" class="layui-input">
                            </div>
                        </div>


                        <button type="button" class="layui-btn" id="post_img">上传</button>
                        <button class="layui-btn" lay-submit lay-filter="*" id='sure'>确定</button>
                    </div>
                </div>
            </form>
        </div>
    </div>


    <script src="../assets/lib/jquery.js"></script>
    <script src="../assets/lib/layui/layui.all.js"></script>
    <script src='../assets/lib/cropper/Cropper.js'></script>
    <script src="../assets/lib/cropper/jquery-cropper.js"></script>
    <script src="../assets/js/common.js"></script>
    <script src='./js/change.js'></script>
</body>

</html>